package org.jeecg.modules.shoporder.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: box_shoporder
 * @Author: jeecg-boot
 * @Date:   2023-05-27
 * @Version: V1.0
 */
@Data
@TableName("box_shoporder")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="box_shoporder对象", description="box_shoporder")
public class BoxShoporder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private Integer id;
	/**商品ID*/
	@Excel(name = "商品ID", width = 15)
    @ApiModelProperty(value = "商品ID")
    private Integer shopId;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private String shopName;
	/**商品图片*/
	@Excel(name = "商品图片", width = 15)
    @ApiModelProperty(value = "商品图片")
    private String image;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private Integer num;
	/**用户ID*/
	@Excel(name = "用户ID", width = 15)
    @ApiModelProperty(value = "用户ID")
    private Integer userId;
	/**支付方式:wechat=微信,alipay=支付宝,lucyk=幸运币,sqfh=申请发货*/
	@Excel(name = "支付方式:wechat=微信,alipay=支付宝,lucyk=幸运币,sqfh=申请发货", width = 15, dicCode = "pay_method")
	@Dict(dicCode = "pay_method")
    @ApiModelProperty(value = "支付方式:wechat=微信,alipay=支付宝,lucyk=幸运币,sqfh=申请发货")
    private String payMethod;
	/**幸运币支付价格*/
	@Excel(name = "幸运币支付价格", width = 15)
    @ApiModelProperty(value = "幸运币支付价格")
    private BigDecimal payCoin;
	/**人民币支付价格*/
	@Excel(name = "人民币支付价格", width = 15)
    @ApiModelProperty(value = "人民币支付价格")
    private BigDecimal payRmb;
	/**商品单价*/
	@Excel(name = "商品单价", width = 15)
    @ApiModelProperty(value = "商品单价")
    private Double price;
	/**商户订单号*/
	@Excel(name = "商户订单号", width = 15)
    @ApiModelProperty(value = "商户订单号")
    private String outTradeNo;
	/**dzfooid*/
	@Excel(name = "dzfooid", width = 15)
    @ApiModelProperty(value = "dzfooid")
    private String dzfooid;
	/**微信平台订单号*/
	@Excel(name = "微信平台订单号", width = 15)
    @ApiModelProperty(value = "微信平台订单号")
    private String transactionId;
	/**支付宝订单号*/
	@Excel(name = "支付宝订单号", width = 15)
    @ApiModelProperty(value = "支付宝订单号")
    private String alipayTradeNo;
	/**付款时间*/
	@Excel(name = "付款时间", width = 15)
    @ApiModelProperty(value = "付款时间")
    private Integer payTime;
	/**状态:unpay=待支付,used=待发货,refund=待收货,ywc=已完成,undei=已关闭*/
	@Excel(name = "状态:unpay=待支付,used=待发货,refund=待收货,ywc=已完成,undei=已关闭", width = 15, dicCode = "order_status")
	@Dict(dicCode = "order_status")
    @ApiModelProperty(value = "状态:unpay=待支付,used=待发货,refund=待收货,ywc=已完成,undei=已关闭")
    private String status;
	/**订单备注*/
	@Excel(name = "订单备注", width = 15)
    @ApiModelProperty(value = "订单备注")
    private String desc1;
	/**创建时间*/
    @ApiModelProperty(value = "创建时间")
    private Integer createTime;
	/**更新时间*/
    @ApiModelProperty(value = "更新时间")
    private Integer updateTime;
	/**删除时间*/
	@Excel(name = "删除时间", width = 15)
    @ApiModelProperty(value = "删除时间")
    private Integer deleteTime;
	/**终端：0=h5,1=小程序,2=APP*/
	@Excel(name = "终端：0=h5,1=小程序,2=APP", width = 15, dicCode = "terminal_type")
	@Dict(dicCode = "terminal_type")
    @ApiModelProperty(value = "终端：0=h5,1=小程序,2=APP")
    private Integer terminal;
	/**收货地址*/
	@Excel(name = "收货地址", width = 15)
    @ApiModelProperty(value = "收货地址")
    private String address;
	/**收货人姓名*/
	@Excel(name = "收货人姓名", width = 15)
    @ApiModelProperty(value = "收货人姓名")
    private String username;
	/**收货人手机号*/
	@Excel(name = "收货人手机号", width = 15)
    @ApiModelProperty(value = "收货人手机号")
    private String mobile;
	/**运费*/
	@Excel(name = "运费", width = 15)
    @ApiModelProperty(value = "运费")
    private BigDecimal deliveryFee;
	/**快递单号*/
	@Excel(name = "快递单号", width = 15)
    @ApiModelProperty(value = "快递单号")
    private String kddh;
	/**快递公司:yuantong=圆通速递,yunda=韵达快递,shentong=申通快递,zhongtong=中通快递,jtexpress=极兔速递,shunfeng=顺丰速运,youzhengguonei=邮政快递,ems=EMS,jd=京东物流,debangkuaidi=德邦快递*/
	@Excel(name = "快递公司:yuantong=圆通速递,yunda=韵达快递,shentong=申通快递,zhongtong=中通快递,jtexpress=极兔速递,shunfeng=顺丰速运,youzhengguonei=邮政快递,ems=EMS,jd=京东物流,debangkuaidi=德邦快递", width = 15, dicCode = "kdgs_dict")
	@Dict(dicCode = "kdgs_dict")
    @ApiModelProperty(value = "快递公司:yuantong=圆通速递,yunda=韵达快递,shentong=申通快递,zhongtong=中通快递,jtexpress=极兔速递,shunfeng=顺丰速运,youzhengguonei=邮政快递,ems=EMS,jd=京东物流,debangkuaidi=德邦快递")
    private String kdgs;
}
